Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(code-gen): make queryKey() generation consistent with baseKey() #714

Merged
merged 1 commit into from
Feb 22, 2021

Conversation

dirkdev98
Copy link
Member

No description provided.

@dirkdev98 dirkdev98 enabled auto-merge (squash) February 22, 2021 20:49
@github-actions
Copy link
Contributor

==== C8 test coverage ====
Statements: 66.33% ( 25558/38530 )
Branches : 65.16% ( 2777 /4262 )
Functions : 66.93% ( 834 /1246 )
Lines : 66.33% ( 25558 /38530 )

@github-actions
Copy link
Contributor

==== Benchmark result ====

Node.js version: 14
Total benchmarks: 15
          Passed: 15
          Failed: 0
-----------
router - github static path              200000  iterations    7657  ns/op
router - github path params              200000  iterations    9558  ns/op
compas validator simple                 5000000  iterations     253  ns/op
yup validator simple                     100000  iterations   11810  ns/op
fastest-validator validator simple     10000000  iterations     119  ns/op
compas validator nested                 1000000  iterations    1386  ns/op
yup validator nested                      50000  iterations   36891  ns/op
fastest-validator validator nested      2000000  iterations     539  ns/op
logger - strings                         500000  iterations    2655  ns/op
logger - objects                         500000  iterations    3291  ns/op
logger - deep objects                    500000  iterations    6019  ns/op
uuid                                    5000000  iterations     480  ns/op
uuid.isValid                           10000000  iterations     167  ns/op
isNil                                 500000000  iterations       0  ns/op
isPlainObject                         100000000  iterations      19  ns/op

@github-actions
Copy link
Contributor

==== Benchmark result ====

Node.js version: 15
Total benchmarks: 15
          Passed: 15
          Failed: 0
-----------
router - github static path              200000  iterations    9059  ns/op
router - github path params              100000  iterations   10041  ns/op
compas validator simple                 5000000  iterations     255  ns/op
yup validator simple                     100000  iterations   12695  ns/op
fastest-validator validator simple     10000000  iterations     117  ns/op
compas validator nested                 1000000  iterations    1454  ns/op
yup validator nested                      50000  iterations   41079  ns/op
fastest-validator validator nested      2000000  iterations     556  ns/op
logger - strings                         500000  iterations    2678  ns/op
logger - objects                         500000  iterations    3245  ns/op
logger - deep objects                    500000  iterations    5494  ns/op
uuid                                    5000000  iterations     367  ns/op
uuid.isValid                           10000000  iterations     173  ns/op
isNil                                 500000000  iterations       0  ns/op
isPlainObject                         100000000  iterations      19  ns/op

@dirkdev98 dirkdev98 merged commit a48fb8a into main Feb 22, 2021
@dirkdev98 dirkdev98 deleted the feat/code-gen branch February 22, 2021 20:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant